package com.itbour.web.action.com;

import com.itbour.common.base.BaseAction;
import com.itbour.dto.com.UserInfoDto;
import com.itbour.service.com.UserService;

/**
 * copyright pirate alliance team 2014
 *
 * @author lunxing
 */

public class GetUserInfoAction extends BaseAction {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private UserService userService;

	private UserInfoDto userInfoDto;
	
	private String user_id;

	public String getUserInfo()
	{
		this.userInfoDto = this.userService.getServiceUserInfo(this.user_id);
		return SUCCESS;
	}

	/**
	 * @return the userService
	 */
	public UserService getUserService() {
		return userService;
	}

	/**
	 * @param userService the userService to set
	 */
	public void setUserService(UserService userService) {
		this.userService = userService;
	}

	/**
	 * @return the userInfoDto
	 */
	public UserInfoDto getUserInfoDto() {
		return userInfoDto;
	}

	/**
	 * @param userInfoDto the userInfoDto to set
	 */
	public void setUserInfoDto(UserInfoDto userInfoDto) {
		this.userInfoDto = userInfoDto;
	}

	/**
	 * @return the user_id
	 */
	public String getUser_id() {
		return user_id;
	}

	/**
	 * @param user_id the user_id to set
	 */
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	
}
